package com.yonyou.cms.epc.client.feign;

import com.yonyou.cms.epc.client.entity.CarModelPO;
import com.yonyou.cyx.framework.bean.dto.framework.RestResultResponse;
import com.yonyou.cyxdms.sysmanage.client.config.FeiginHeaderManageConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient("sysbasedata-service"
//        ,url="https://dcs-test-api.radar-ev.com/api/basedata",
//              configuration = FeiginHeaderManageConfig.class
)
public interface BaseDataClient {

    @GetMapping("/model/queryModelByCondition")
    RestResultResponse<List<CarModelPO>> queryModelBySql(@RequestParam Map<String, Object> queryCondition);

}
